/**
 * Copyright 2018 California Institute of Technology.
 *
 * This source code is licensed under the APACHE 2.0 license found in the
 * LICENSE.txt file in the root directory of this source tree.
 */

.root {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    min-width: 1.2rem;
    min-height: 1.2rem;
}

.btn {
    width: 100%;
    height: 100%;
    vertical-align: top;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.54);
}

.colorList {
    max-width: 8.2rem;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    padding: 0.1rem;
}

.colorOption {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 2px;
    // border-radius: 50%;
    margin: 0.1rem;
    cursor: pointer;
    transition-property: border-radius;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    &:hover {
        border-radius: 35%;
    }
}

.colorOptionSelected {
    composes: colorOption;
    border-radius: 50%;
    &:hover {
        border-radius: 50%;
    }
}
